package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Exercise;

import java.util.ArrayList;
import java.util.List;

public interface ExerciseService {

    void add(ArrayList<Exercise> foods);

    PageResult findPage(QueryPageBean queryPageBean);

    void addExercise(Exercise exercise);

    List<Exercise> findAll();

}
